//
//  PassWordView.h
//  密码输入框
//
//  Created by zhouLiHuan on 2017/2/8.
//  Copyright © 2017年 zhouLiHuan. All rights reserved.
//

#import <UIKit/UIKit.h>

#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#define boxWidth (SCREEN_WIDTH -70)/6 //密码框的宽度

@class PassWordView;

@protocol PassWordViewDelegate <NSObject>

@optional
- (void)passwordView:(PassWordView *)passwordView withPasswordString:(NSString *)password;

@end


@interface PassWordView : UIView <UITextFieldDelegate>

@property (nonatomic,assign)id <PassWordViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame withTitle:(NSString *)title;

//标题
@property (nonatomic,strong)UILabel *label_title;

@property (nonatomic,strong)UITextField *textField;

//假的输入框
@property (nonatomic,strong)UIView *viewBox1;
@property (nonatomic,strong)UIView *viewBox2;
@property (nonatomic,strong)UIView *viewBox3;
@property (nonatomic,strong)UIView *viewBox4;
@property (nonatomic,strong)UIView *viewBox5;
@property (nonatomic,strong)UIView *viewBox6;

//密码点
@property (nonatomic,strong)UILabel *labelPoint1;
@property (nonatomic,strong)UILabel *labelPoint2;
@property (nonatomic,strong)UILabel *labelPoint3;
@property (nonatomic,strong)UILabel *labelPoint4;
@property (nonatomic,strong)UILabel *labelPoint5;
@property (nonatomic,strong)UILabel *labelPoint6;


@end


\
